<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
	<title>iStock-Web股票平台</title>
	
	<link rel="stylesheet" href="/site_media/css/stock.css" type="text/css" />
	
	
	<style type="text/css" title="currentStyle"> 
		@import "/site_media/css/themes/custom-theme/jquery-ui-1.8.9.custom.css";
	</style> 
		
	<script type="text/javascript" src="/site_media/js/jquery-1.5.min.js"></script>
	<script type="text/javascript" src="/site_media/js/jquery.json-2.2.min.js"></script>
	
	<script type="text/javascript" src="/site_media/js/external/jquery.bgiframe-2.1.2.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.core.js"></script>

	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.resizable.js"></script>

	<script type="text/javascript" src="/site_media/js/ui/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/site_media/js/ui/jquery.effects.core.js"></script>

		
	<!--[if  lte IE 6 ]>
        <style type="text/css">
        #search{
            margin:12px 0 0 0px;
        }
        

        </style>
    <![endif]-->
	
	<script type="text/javascript">
		
		
		
		$(document).ready(function(){
		    $("#dialog-form").hide();
		    
			$("#addformula").click(function(){
			    $( "#dialog-form" ).dialog({
		        	width: 500,
		        	modal: true
			    });
		    });
		});
		
	</script>
	
	
	
	

</head>
<body>
  <div id="content">
	  	{% if uid %}
			<div id="top_info"><a href="/istock/login" >{{uid}}</a> | <a href="/istock/logout/">退出</a></div>	
		{% else %}
			<div id="top_info"><a href="/istock/login" >登录</a></div>	
		{% endif %}
		
  		<div id="header">
			<div class="logo">
				<img src="/site_media/images/iStock.png"  alt=""/>
			</div>
			<div id="search"> 
				<form method="post" action="#"> 
					<p><input type="text" name="searchid" class="search" id="stext" /> <input type="submit" value="iStock搜索" class="button" /></p> 
				</form> 
			</div> 
		</div>

		<div id="main">
		    
		    
		    <div id="left">
		            <ul>
		                <li><a href="#">首页</a></li>
		                <li><a href="#">我的首页</a></li>
		                <li><a href="#">我的股票</a></li>
		                <li><a href="#">我的公式</a></li>
		                <li><a href="#">公式计算</a></li>
		                <li><a href="#">公式选股</a></li>
		                <li><a href="#">指标比较</a></li>      
		            </ul>
		    </div>
		    
		    <div id="center" >
			    <div class="myuiheader"></div>
				<div><input type="button" value="添加公式" id="addformula"/></div>
				<div class="myuiformulapool">
				<!--
					<div style="float:left;">
					<form method="post" action="#">
						<table>
						<tr><td>公式名称</td><td><input type='text'  class="myuitext" /></td></tr>
						<tr><td>公式说明</td><td><input type='text'  class="myuitext" /></td></tr>
						<tr><td>编辑公式</td></tr>
						<tr>
						<td></td>
						<td>
						<textarea cols='35' rows='23' name="script">
						</textarea>
						</td>
						</tr>
						<tr>
							<td></td><td><input type='submit' value='保存'/></td>
						</tr>
						</table>
					</form>
					</div>
			    -->		
					<div class="myuiformulalist">
						<ul>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
							<li><div style="height:20px; background:#dde5f9;"><a href="#" ></a></div></li>
						</ul>
					</div>
				</div>
            </div>
            
		</div>
		<div id="footer">
			<p>&nbsp;&nbsp;<a href="">关于我们</a> &nbsp;&nbsp; | &nbsp;&nbsp;<a href="">免责声明 </a>&nbsp;&nbsp;| &nbsp;&nbsp;<a href="">联系我们</a> &nbsp;&nbsp;| &nbsp;&nbsp;<a href="">帮助中心</a>&nbsp;&nbsp;</p>
		</div>
		
  </div>
  
  
  <div id="dialog-form" title="添加公式">
	    <form method="post" action="/test8/">
	        <fieldset>
						<label for="sid">公式名称</label>
						<input type='text'  class="myuitext"  name='sid' id='sid' />
						<br />
						
						<label for="sds">公式说明</label>
						<input type='text'  class="myuitext" name='sds' id='sds'/>
						<br />
						
						<label for="script">编辑公式</label>
						<textarea cols='35' rows='20' name="script" id="script">
						</textarea>
						<br />
						<input type='submit' value='保存'/>
			 </fieldset>
			</form>
    </div>

  
</body>
</html>
